package com.zmn.oms.model.entity.walldiscount;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 描述: 墙面订单优惠信息
 *
 * @author chengguang
 * @since  2022/06/20 18:46
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WallDiscount implements Serializable {

    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty("id")
	private Long relateId;
    
    @ApiModelProperty("工单id")
	private Long workId;
    
    @ApiModelProperty("优惠类型： <=21 促销；其他为券码")
	private Integer discountType;
    
    @ApiModelProperty("券码/促销id")
	private String discountCode;
    
    @ApiModelProperty("优惠金额")
	private Integer discountAmount;
    
    @ApiModelProperty("创建时间")
	private Date createTime;
    
    @ApiModelProperty("更新时间")
	private Date updateTime;
    
}
